<template>
    <el-card>
        <p slot="header">
            配资统计详情
        </p>
        {{results}}
    </el-card>
</template>
<script>
    import axios from '~plugins/axios';

    export default {
        layout: 'admin',
        head() {
            return {title: '配资统计详情'};
        },
        asyncData({query}) {
            return axios.get(`/api/agent/countAsset/${query.id}`).then(res => {
                return {results: res.data};
            });
        }
    };
</script>